package com.ruoyi.energy.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.energy.domain.NyTransPart;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 变压器部件对象 omp_ny_transformer_account
 * 远程接口箱变实体定义
 *
 * @author zmc
 * @date 2021-09-26
 */
@Data
@ApiModel
public class WXNyTransDetial {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private Long id;

    /** 编号 */
    @Excel(name = "资产编号")
    @ApiModelProperty(value = "编号")
    private String num;

    /** 名称 */
    @Excel(name = "箱变名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 园区编号 */
    @Excel(name = "所属园区")
    @ApiModelProperty(value = "所属园区")
    private String parkNum;

   /** 执行标准 */
    @Excel(name = "执行标准")
    @ApiModelProperty(value = "执行标准")
    private String standard;

    /** 制造日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "制造日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "制造日期")
    private Date makeDate;

    /** 投入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投入时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "投入时间")
    private Date useDate;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    @ApiModelProperty(value = "出厂编号")
    private String factoryNum;

    /** 总重量 */
    @Excel(name = "总重量")
    @ApiModelProperty(value = "总重量")
    private String weight;

    /** 厂家 */
    @Excel(name = "厂家")
    @ApiModelProperty(value = "厂家")
    private String factory;

    /** 上一次年检时间 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "上一次年检时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "上一次年检时间")
    private Date preCheckTime;

    /** 下一次年检时间 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "下一次年检时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "下一次年检时间")
    private Date nextCheckTime;

        /** 设备分类 */
    @ApiModelProperty(value = "设备分类")
    private String deviceType;

        /** 安装位置 */
    @Excel(name = "安装位置")
    @ApiModelProperty(value = "安装位置")
    private String installPosition;

    /** 容量 */
    @Excel(name = "额定容量")
    @ApiModelProperty(value = "额定容量")
    private String approvalLoad;

    /** 负荷 */
    @Excel(name = "负荷")
    @ApiModelProperty(value = "负荷")
    private Long curLoad;

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    List<NyTransPart> nyTransParts;
    //----设备配置列表---

    /** 使用情况 */
    @Excel(name = "使用情况")
    @ApiModelProperty(value = "使用情况")
    private String useState;

}
